﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:local="clr-namespace:WPFSceneryEditor.CustomControls"
    x:Class="WPFSceneryEditor.CustomControls.RoadModiferPanel"
    mc:Ignorable="d"
    d:DesignWidth="300"
    Height="165">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition
                Height="30" />
            <RowDefinition
                Height="30" />
            <RowDefinition
                Height="70" />
            <RowDefinition
                Height="30" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition
                Width="33*" />
            <ColumnDefinition
                Width="33*" />
            <ColumnDefinition
                Width="33*" />
        </Grid.ColumnDefinitions>

        <ToggleButton
            Grid.Column="0"
            Grid.ColumnSpan="1"
            Content="Add" />
        <ToggleButton
            Grid.Column="1"
            Grid.ColumnSpan="1"
            Content="Move" />
        <ToggleButton
            Grid.Column="2"
            Grid.ColumnSpan="1"
            Content="Delete" />

        <CheckBox
            Margin="5,5,5,0"
            Content="Lock"
            HorizontalAlignment="Stretch"
            Grid.Row="1"
            VerticalAlignment="Top">
            <CheckBox.Effect>
                <DropShadowEffect
                    ShadowDepth="0"
                    BlurRadius="10"
                    Color="LightGray" />
            </CheckBox.Effect>
        </CheckBox>
        <ComboBox
            Margin="5,5,5,0"
            Grid.Column="2"
            HorizontalAlignment="Stretch"
            Grid.Row="1"
            VerticalAlignment="Top">
            <ComboBox.Effect>
                <DropShadowEffect
                    ShadowDepth="0"
                    BlurRadius="10"
                    Color="LightGray" />
            </ComboBox.Effect>
        </ComboBox>
        <Button
            Margin="5,5,5,5"
            Grid.ColumnSpan="1"
            Content="Button"
            Grid.Column="1"
            HorizontalAlignment="Stretch"
            Grid.Row="1"
            VerticalAlignment="Stretch">
            <Button.Effect>
                <DropShadowEffect
                    ShadowDepth="0"
                    BlurRadius="10"
                    Color="LightGray" />
            </Button.Effect>
        </Button>

        <local:PositionModiferControl
            Grid.Row="2"
            Grid.ColumnSpan="3"
            VerticalAlignment="Top" />
        <ComboBox
            Grid.ColumnSpan="3"
            HorizontalAlignment="Stretch"
            Margin="5,5,5,5"
            Grid.Row="3"
            VerticalAlignment="Stretch">
            <ComboBox.Effect>
                <DropShadowEffect
                    ShadowDepth="0"
                    BlurRadius="10"
                    Color="LightGray" />
            </ComboBox.Effect>
        </ComboBox>
    </Grid>
</UserControl>